New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[INTEL MKL] Fixed missing copts in BUILD file. #32317
[INTEL MKL] Fixed missing copts in BUILD file. #32317
Conversation
Pinging @mahmoud-abuzaina and @penpornk |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes look good to me. I'm looping in @gunan and @scentini for "-fno-exceptions" in #31599.
Background:
This change is to be cherry-picked into r2.0 if possible, to re-enable MKL in eager execution (I accidentally disabled it when fixing some build failures -- my bad!). ddde447 and e5f8043 are not in r2.0. Is it okay to use "-fno-exceptions" here for now?
The use of |
Thanks @scentini for the explanation. Yes, I am going to submit another PR soon that will use tf_copts(allow_exceptions = True) to be merged with master. But since the r2.0 still does not support that argument, we need this PR to be cherry-picked into r2.0. |
@scentini Thank you for taking a look! |
@penpornk thank you so much. That will be great. |
PiperOrigin-RevId: 268172536
The -DINTEL_MKL compiler option was not getting passed to mkl related eager files (removed in a prior commit.) Added tf_copts to the build, tf_copts includes -DINTEL_MKL.